package cn.tedu.demo.service;

import cn.tedu.demo.pojo.dto.UserLoginDTO;
import cn.tedu.demo.pojo.dto.UserRegDto;
import cn.tedu.demo.pojo.vo.UserInfoVO;
import cn.tedu.demo.pojo.vo.UserVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;


public interface IUserService {

    void addUser(UserRegDto userRegDto, HttpServletRequest request, HttpServletResponse response);

    UserVO getUser(UserLoginDTO userLoginDTO,HttpServletRequest request, HttpServletResponse respon);

    void logout(HttpServletRequest request);

    UserInfoVO currentUser(HttpSession session);

}
